.class public final Llt/farmis/libraries/apps_promo/AppsPromo$showSingleApp$1;
.super Lcom/bumptech/glide/request/target/SimpleTarget;
.source "AppsPromo.kt"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/farmis/libraries/apps_promo/AppsPromo;->showSingleApp(Llt/farmis/libraries/apps_promo/parent_interfaces/Callbacks;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/bumptech/glide/request/target/SimpleTarget<",
        "Landroid/graphics/drawable/Drawable;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic $dialog:Llt/farmis/libraries/apps_promo/AppPromoDialog;

.field final synthetic $manager:Landroidx/fragment/app/FragmentManager;


# direct methods
.method constructor <init>(Llt/farmis/libraries/apps_promo/AppPromoDialog;Landroidx/fragment/app/FragmentManager;)V
    .locals 0

    .line 89
    iput-object p1, p0, Llt/farmis/libraries/apps_promo/AppsPromo$showSingleApp$1;->$dialog:Llt/farmis/libraries/apps_promo/AppPromoDialog;

    iput-object p2, p0, Llt/farmis/libraries/apps_promo/AppsPromo$showSingleApp$1;->$manager:Landroidx/fragment/app/FragmentManager;

    invoke-direct {p0}, Lcom/bumptech/glide/request/target/SimpleTarget;-><init>()V

    return-void
.end method


# virtual methods
.method public onResourceReady(Landroid/graphics/drawable/Drawable;Lcom/bumptech/glide/request/transition/Transition;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/graphics/drawable/Drawable;",
            "Lcom/bumptech/glide/request/transition/Transition<",
            "-",
            "Landroid/graphics/drawable/Drawable;",
            ">;)V"
        }
    .end annotation

    .line 91
    iget-object p2, p0, Llt/farmis/libraries/apps_promo/AppsPromo$showSingleApp$1;->$dialog:Llt/farmis/libraries/apps_promo/AppPromoDialog;

    if-eqz p1, :cond_0

    invoke-virtual {p2, p1}, Llt/farmis/libraries/apps_promo/AppPromoDialog;->setDraw(Landroid/graphics/drawable/Drawable;)V

    .line 92
    iget-object p1, p0, Llt/farmis/libraries/apps_promo/AppsPromo$showSingleApp$1;->$manager:Landroidx/fragment/app/FragmentManager;

    invoke-virtual {p1}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;

    move-result-object p1

    iget-object p2, p0, Llt/farmis/libraries/apps_promo/AppsPromo$showSingleApp$1;->$dialog:Llt/farmis/libraries/apps_promo/AppPromoDialog;

    const-string v0, "AppsPromoDialog"

    invoke-virtual {p1, p2, v0}, Landroidx/fragment/app/FragmentTransaction;->add(Landroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;

    invoke-virtual {p1}, Landroidx/fragment/app/FragmentTransaction;->commitAllowingStateLoss()I

    return-void

    .line 91
    :cond_0
    invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->throwNpe()V

    const/4 p1, 0x0

    throw p1
.end method

.method public bridge synthetic onResourceReady(Ljava/lang/Object;Lcom/bumptech/glide/request/transition/Transition;)V
    .locals 0

    .line 89
    check-cast p1, Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0, p1, p2}, Llt/farmis/libraries/apps_promo/AppsPromo$showSingleApp$1;->onResourceReady(Landroid/graphics/drawable/Drawable;Lcom/bumptech/glide/request/transition/Transition;)V

    return-void
.end method
